/**
 * Created by UPC on 2015/10/21.
 */
var odiv = document.createElement('div');
odiv.id = 'right_box';
document.querySelector('body').appendChild(odiv);
var strHtml;
strHtml = "<ul>";
strHtml += "<li class='weixin'><div class='weixin-logo'></div></li>";
strHtml += "<li id='idea' class='idea'></li>";
strHtml += "<li id='app' class='app'><div class='app-logo'></div></li>";
strHtml += "</ul>";
document.getElementById('right_box').innerHTML = strHtml;
document.getElementById('idea').onclick = function () {
    window.location.href = 'http://wpa.qq.com/msgrd?v=3&uin=578588098&site=qq&menu=yes';
}
document.getElementById('app').onclick = function () {
    document.documentElement.scrollTop = document.body.scrollTop = 0;
}
